<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="wap-font-scale" content="no">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<link rel="shortcut icon" href="{{ "img/favicon.ico" | relURL }}">
	<title>
			{{ if .IsPage }}
				{{ .Title }} - {{ .Site.Title }}
			{{ else }}
			   {{ $currentTitle := string .Title }}
				{{ $titleName := "" }}
				{{ range .Site.Menus.main }}
						{{ if eq $currentTitle .Identifier}}
							{{ $titleName = .Name }}
						{{ end }}
				{{ end }}
				{{ if not (eq $titleName "") }}{{ $titleName }}-{{ end }}{{ .Site.Title }}
			{{ end }}
	</title>

	{{ if gt (len .Keywords) 0 }}
		{{ $length := len .Keywords | add -1 }}
		<meta name="keywords" content="{{ range $index, $element := .Keywords }}{{ $element | safeHTML }}{{if ne $index $length }}, {{ end }}{{ end }}" />
	{{ else if .Site.Params.Keywords }}
		{{ $length := len .Site.Params.Keywords | add -1 }}
		<meta name="keywords" content="{{ range $index, $element := .Site.Params.Keywords }}{{ $element | safeHTML }}{{if ne $index $length }}, {{ end }}{{ end }}" />
	{{ end }}

	{{ $style := resources.Get "scss/main.scss" | toCSS | minify | fingerprint }}
	<link href="{{ $style.RelPermalink }}" rel="stylesheet">
	<link href='{{ "lib/prismjs/prism.css" | relURL }}' rel="stylesheet">
	<script>
		window.Prism = window.Prism || {};
		Prism.manual = true;
	</script>

	<link rel="apple-touch-icon" sizes="180x180" href="{{ "apple-touch-icon.png" | relURL }}">
	<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | relURL }}">
	<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | relURL }}">
	<link rel="manifest" href="{{ "manifest.json" | relURL }}">

</head>